package org.jiajie.designpatterndemo.bridge.lxf;

/**
 * 抽象类 Car
 * @author jay
 */
public abstract class Car {
    // 引用 Engine
    protected Engine engine;

    public Car(Engine engine) {
        this.engine = engine;
    }

    public abstract void drive();
}
